﻿using System;

namespace IInject.Registration.Scanning
{
	public class MatchingResult
    {
		public bool HasToType
		{
			get
			{
				return To != null;
			}
		}

        public bool IsAggregateMapping { get; set; }

		public bool IsMatch { get; set; }

		public Type From { get; set; }

		public Type To { get; set; }
	}
}
